home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BMUG TV-ROM Too
/
TV-ROM Too™.iso
/
Applications
/
MoviePlayer
/
MoviePlayer.rsrc
/
CODE_5_MAIN.txt
< prev
next >
Wrap
Text File
|
1989-08-21
|
71KB
|
1,328 lines
# far model CODE resource
# near model jump table entries starting at A5 + 0x00000270 (16 of them)
# far model jump table entries starting at A5 + 0x00000000 (0 of them)
# A5 relocation data at 0x00000000
# A5 relocation at 0000FFFE
# A5 is 0x00000000
# PC relocation data at 0x00000000
# PC relocation at 0000FFFE
# load address is 0x00000000
00000000 4E56 0000 link A6, 0
00000004 2F07 move.l -[A7], D7
00000006 3E2E 000A move.w D7, [A6 + 0xA]
0000000A 6D06 blt +0x8 /* 00000012 */
0000000C 0C47 0007 cmpi.w D7, 0x7
00000010 6F08 ble +0xA /* 0000001A */
label00000012:
00000012 41ED EC7A lea.l A0, [A5 - 0x1386]
00000016 2008 move.l D0, A0
00000018 601A bra +0x1C /* 00000034 */
label0000001A:
0000001A 486D EC7C pea.l [A5 - 0x1384]
0000001E 3F3C 2384 move.w -[A7], 0x2384
00000022 3007 move.w D0, D7
00000024 907C FFFF sub.w D0, 0xFFFF
00000028 3F00 move.w -[A7], D0
0000002A 4EAD 0102 jsr [A5 + 0x102 /* export_28 */]
0000002E 41ED EC7C lea.l A0, [A5 - 0x1384]
00000032 2008 move.l D0, A0
label00000034:
00000034 2E2E FFFC move.l D7, [A6 - 0x4]
00000038 4E5E unlink A6
0000003A 4E75 rts
0000003C 9047 sub.w D0, D7
0000003E 6574 bcs +0x76 /* 000000B4 */
00000040 4765 chk.w D3, -[A5]
00000042 6E65 bgt +0x67 /* 000000A9 */
00000044 7261 moveq.l D1, 0x61
00000046 6C53 bge +0x55 /* 0000009B */
00000048 7472 moveq.l D2, 0x72
0000004A 696E bvs +0x70 /* 000000BA */
0000004C 6700 0000 beq +0x2 /* 0000004E */
// begin alternate branch 0000004E-00000058
label0000004E:
0000004E 0000 4E56 ori.b D0, 0x56 /* 'V' */
00000052 0000 48E7 ori.b D0, 0xE7
00000056 0108 btst A0, D0
// end alternate branch 0000004E-00000058
label0000004E: // (misaligned)
00000050 4E56 0000 link A6, 0
00000054 48E7 0108 movem.l -[A7], D7,A4
00000058 286E 0008 movea.l A4, [A6 + 0x8]
0000005C 4247 clr.w D7
0000005E 200C move.l D0, A4
00000060 6730 beq +0x32 /* 00000092 */
00000062 4AAC 0056 tst.l [A4 + 0x56]
00000066 6610 bne +0x12 /* 00000078 */
00000068 7000 moveq.l D0, 0x00
0000006A 2F00 move.l -[A7], D0
0000006C 2F0C move.l -[A7], A4
0000006E 4EAD 035A jsr [A5 + 0x35A /* export_103 */]
00000072 3E00 move.w D7, D0
00000074 504F addq.w A7, 8
00000076 661A bne +0x1C /* 00000092 */
label00000078:
00000078 4AAC 0056 tst.l [A4 + 0x56]
0000007C 6608 bne +0xA /* 00000086 */
0000007E 486D F2F6 pea.l [A5 - 0xD0A]
00000082 ABFF syscall DebugStr
00000084 600C bra +0xE /* 00000092 */
label00000086:
00000086 2F2C 0056 move.l -[A7], [A4 + 0x56]
0000008A A915 syscall ShowWindow
0000008C 2F2C 0056 move.l -[A7], [A4 + 0x56]
00000090 A91F syscall SelectWindow
label00000092:
00000092 3007 move.w D0, D7
00000094 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
0000009A 4E5E unlink A6
0000009C 4E75 rts
0000009E 8944 6F47 pack D4, D4, 0x6F47
000000A2 6574 bcs +0x76 /* 00000118 */
000000A4 496E 666F chk.w D4, [A6 + 0x666F]
000000A8 0000 4E56 ori.b D0, 0x56 /* 'V' */
000000AC 0000 2F07 ori.b D0, 0x7
000000B0 3E2E 000A move.w D7, [A6 + 0xA]
label000000B4:
000000B4 6D06 blt +0x8 /* 000000BC */
000000B6 0C47 0004 cmpi.w D7, 0x4
label000000BA:
000000BA 6F08 ble +0xA /* 000000C4 */
label000000BC:
000000BC 41ED F496 lea.l A0, [A5 - 0xB6A]
000000C0 2008 move.l D0, A0
000000C2 6018 bra +0x1A /* 000000DC */
label000000C4:
000000C4 486D F498 pea.l [A5 - 0xB68]
000000C8 3F3C 2389 move.w -[A7], 0x2389
000000CC 3007 move.w D0, D7
000000CE 5240 addq.w D0, 1
000000D0 3F00 move.w -[A7], D0
000000D2 4EAD 0102 jsr [A5 + 0x102 /* export_28 */]
000000D6 41ED F498 lea.l A0, [A5 - 0xB68]
000000DA 2008 move.l D0, A0
label000000DC:
000000DC 2E2E FFFC move.l D7, [A6 - 0x4]
000000E0 4E5E unlink A6
000000E2 4E75 rts
000000E4 8F47 6574 pack D7, D7, 0x6574
000000E8 5361 subq.w -[A1], 1
000000EA 7665 moveq.l D3, 0x65
000000EC 4173 5374 chk.w D0, <<invalid full ext with I/IS == 4>>
000000F0 7269 moveq.l D1, 0x69
000000F2 6E67 bgt +0x69 /* 0000015B */
000000F4 0000 4E56 ori.b D0, 0x56 /* 'V' */
000000F8 0000 3F3C ori.b D0, 0x3C /* '<' */
000000FC 07DE .incomplete
000000FE A989 syscall CouldAlert
00000100 4878 07DE push.l 0x7DE
00000104 4EBA 002A jsr [PC + 0x2A /* 00000130 */]
00000108 A9F4 syscall ExitToShell
0000010A 4E5E unlink A6
0000010C 4E75 rts
0000010E 9F43 subx.w D7, D3
00000110 6F6D ble +0x6F /* 0000017F */
00000112 706C moveq.l D0, 0x6C
00000114 6169 bsr +0x6B /* 0000017F */
00000116 6E54 bgt +0x56 /* 0000016C */
label00000118:
00000118 6861 bvc +0x63 /* 0000017B */
0000011A 7451 moveq.l D2, 0x51
0000011C 7569 moveq.l D2, 0x69
0000011E 636B bls +0x6D /* 0000018B */
00000120 5469 6D65 addq.w [A1 + 0x6D65], 2
00000124 4973 6E74 chk.w D4, [A3 + D6 * 8 + 0x74]
00000128 4172 6F75 chk.w D0, <<invalid full ext with IS == 1 and I/IS == 5>>
0000012C 6E64 bgt +0x66 /* 00000192 */
0000012E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000130-00000136
fn00000130:
00000130 4E56 0000 link A6, 0
00000134 2F07 move.l -[A7], D7
// end alternate branch 00000130-00000136
fn00000130: // (misaligned)
00000132 0000 2F07 ori.b D0, 0x7
00000136 3E2E 000A move.w D7, [A6 + 0xA]
0000013A 7001 moveq.l D0, 0x01
0000013C 2F00 move.l -[A7], D0
0000013E 7200 moveq.l D1, 0x00
00000140 2F01 move.l -[A7], D1
00000142 48C7 ext.l D7
00000144 2F07 move.l -[A7], D7
00000146 2F3C 414C 5254 move.l -[A7], 0x414C5254 /* 'ALRT' */
0000014C 4EAD 019A jsr [A5 + 0x19A /* export_47 */]
00000150 558F subq.l A7, 2
00000152 3F07 move.w -[A7], D7
00000154 7000 moveq.l D0, 0x00
00000156 2F00 move.l -[A7], D0
00000158 A986 syscall StopAlert
0000015A 2E2E FFFC move.l D7, [A6 - 0x4]
0000015E 4E5E unlink A6
00000160 4E75 rts
00000162 8B53 or.w [A3], D5
00000164 686F bvc +0x71 /* 000001D5 */
00000166 7741 moveq.l D3, 0x41
00000168 6E41 bgt +0x43 /* 000001AB */
0000016A 6C65 bge +0x67 /* 000001D1 */
label0000016C:
0000016C 7274 moveq.l D1, 0x74
0000016E 0000 4E56 ori.b D0, 0x56 /* 'V' */
00000172 0000 2F0C ori.b D0, 0xC
00000176 286E 0008 movea.l A4, [A6 + 0x8]
0000017A 204C movea.l A0, A4
0000017C 43ED F9A2 lea.l A1, [A5 - 0x65E]
00000180 7000 moveq.l D0, 0x00
00000182 1014 move.b D0, [A4]
00000184 5240 addq.w D0, 1
00000186 48C0 ext.l D0
00000188 A02E syscall BlockMove/BlockMoveData
0000018A 286E FFFC movea.l A4, [A6 - 0x4]
0000018E 4E5E unlink A6
00000190 4E75 rts
label00000192:
00000192 9253 sub.w D1, [A3]
00000194 6574 bcs +0x76 /* 0000020A */
00000196 4669 6C65 not.w [A1 + 0x6C65]
0000019A 4661 not.w -[A1]
0000019C 696C bvs +0x6E /* 0000020A */
0000019E 7572 moveq.l D2, 0x72
000001A0 654E bcs +0x50 /* 000001F0 */
000001A2 616D bsr +0x6F /* 00000211 */
000001A4 6500 0000 bcs +0x2 /* 000001A6 */
// begin alternate branch 000001A6-000001AE
label000001A6:
000001A6 0000 4E56 ori.b D0, 0x56 /* 'V' */
000001AA 0000 2F0C ori.b D0, 0xC
// end alternate branch 000001A6-000001AE
label000001A6: // (misaligned)
000001A8 4E56 0000 link A6, 0
000001AC 2F0C move.l -[A7], A4
000001AE 286E 0008 movea.l A4, [A6 + 0x8]
000001B2 204C movea.l A0, A4
000001B4 43ED FAA3 lea.l A1, [A5 - 0x55D]
000001B8 7000 moveq.l D0, 0x00
000001BA 1014 move.b D0, [A4]
000001BC 5240 addq.w D0, 1
000001BE 48C0 ext.l D0
000001C0 A02E syscall BlockMove/BlockMoveData
000001C2 286E FFFC movea.l A4, [A6 - 0x4]
000001C6 4E5E unlink A6
000001C8 4E75 rts
000001CA 9B53 sub.w [A3], D5
000001CC 6574 bcs +0x76 /* 00000242 */
000001CE 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
000001D2 7244 moveq.l D1, 0x44
000001D4 6573 bcs +0x75 /* 00000249 */
000001D6 6372 bls +0x74 /* 0000024A */
000001D8 6970 bvs +0x72 /* 0000024A */
000001DA 7469 moveq.l D2, 0x69
000001DC 6F6E ble +0x70 /* 0000024C */
000001DE 4F76 6572 7269 6465 0000 chk.w D7, [[A6 + 0x72696465]]
000001E8 4E56 0000 link A6, 0
000001EC 1B6E 000B FAA2 move.b [A5 - 0x55E], [A6 + 0xB]
// begin alternate branch 000001F0-000001F4
label000001F0:
000001F0 FAA2 4E5E .extension 0xAA2 <<F/2-3/5>> // unimplemented
// end alternate branch 000001F0-000001F4
label000001F0: // (misaligned)
000001F2 4E5E unlink A6
000001F4 4E75 rts
000001F6 8F53 or.w [A3], D7
000001F8 6574 bcs +0x76 /* 0000026E */
000001FA 4F70 6572 6174 696F 6E4E chk.w D7, [[A0 + 0x6174696F] + 0x6E4E]
00000204 756D moveq.l D2, 0x6D
00000206 0000 4E56 ori.b D0, 0x56 /* 'V' */
label0000020A:
0000020A 0000 102D ori.b D0, 0x2D /* '-' */
0000020E FAA2 4E5E .extension 0xAA2 <<F/2-3/5>> // unimplemented
00000212 4E75 rts
00000214 8F47 6574 pack D7, D7, 0x6574
00000218 4F70 6572 6174 696F 6E4E chk.w D7, [[A0 + 0x6174696F] + 0x6E4E]
00000222 756D moveq.l D2, 0x6D
00000224 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000226-0000022A
fn00000226:
00000226 4E56 FF00 link A6, -0x0100
// end alternate branch 00000226-0000022A
fn00000226: // (misaligned)
00000228 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
0000022A 48E7 0118 movem.l -[A7], D7,A3,A4
0000022E 47EE FF00 lea.l A3, [A6 - 0x100]
00000232 3E2E 000A move.w D7, [A6 + 0xA]
00000236 49ED FAA3 lea.l A4, [A5 - 0x55D]
0000023A 7000 moveq.l D0, 0x00
0000023C 1014 move.b D0, [A4]
0000023E 4A80 tst.l D0
00000240 6704 beq +0x6 /* 00000246 */
label00000242:
00000242 200C move.l D0, A4
00000244 607C bra +0x7E /* 000002C2 */
label00000246:
00000246 49ED F7A2 lea.l A4, [A5 - 0x85E]
label0000024A:
0000024A 2F0C move.l -[A7], A4
label0000024C:
0000024C 48C7 ext.l D7
0000024E 2F07 move.l -[A7], D7
00000250 4EBA 00F6 jsr [PC + 0xF6 /* 00000348 */]
00000254 4A00 tst.b D0
00000256 504F addq.w A7, 8
00000258 6704 beq +0x6 /* 0000025E */
0000025A 200C move.l D0, A4
0000025C 6064 bra +0x66 /* 000002C2 */
label0000025E:
0000025E 2F0C move.l -[A7], A4
00000260 48C7 ext.l D7
00000262 2F07 move.l -[A7], D7
00000264 4EBA 013E jsr [PC + 0x13E /* 000003A4 */]
00000268 4A00 tst.b D0
0000026A 504F addq.w A7, 8
0000026C 6704 beq +0x6 /* 00000272 */
label0000026E:
0000026E 200C move.l D0, A4
00000270 6050 bra +0x52 /* 000002C2 */
label00000272:
00000272 2F0C move.l -[A7], A4
00000274 48C7 ext.l D7
00000276 2F07 move.l -[A7], D7
00000278 4EBA 0182 jsr [PC + 0x182 /* 000003FC */]
0000027C 4A00 tst.b D0
0000027E 504F addq.w A7, 8
00000280 6704 beq +0x6 /* 00000286 */
00000282 200C move.l D0, A4
00000284 603C bra +0x3E /* 000002C2 */
label00000286:
00000286 486D F7A2 pea.l [A5 - 0x85E]
0000028A 4878 4A3B push.l 0x4A3B /* 'J;' */
0000028E 4EBA 00B8 jsr [PC + 0xB8 /* 00000348 */]
00000292 48C7 ext.l D7
00000294 2F07 move.l -[A7], D7
00000296 2F0B move.l -[A7], A3
00000298 4EAD 0112 jsr [A5 + 0x112 /* export_30 */]
0000029C 204B movea.l A0, A3
0000029E 5288 addq.l A0, 1
000002A0 43ED F7A3 lea.l A1, [A5 - 0x85D]
000002A4 7000 moveq.l D0, 0x00
000002A6 102D F7A2 move.b D0, [A5 - 0x85E]
000002AA D089 add.l D0, A1
000002AC 2240 movea.l A1, D0
000002AE 7000 moveq.l D0, 0x00
000002B0 1013 move.b D0, [A3]
000002B2 A02E syscall BlockMove/BlockMoveData
000002B4 1013 move.b D0, [A3]
000002B6 D12D F7A2 add.b [A5 - 0x85E], D0
000002BA 41ED F7A2 lea.l A0, [A5 - 0x85E]
000002BE 2008 move.l D0, A0
000002C0 504F addq.w A7, 8
label000002C2:
000002C2 4CEE 1880 FEF4 movem.l D7,A3,A4, [A6 - 0x10C]
000002C8 4E5E unlink A6
000002CA 4E75 rts
000002CC 9A47 sub.w D5, D7
000002CE 6574 bcs +0x76 /* 00000344 */
000002D0 416E 7941 chk.w D0, [A6 + 0x7941]
000002D4 7661 moveq.l D3, 0x61
000002D6 696C bvs +0x6E /* 00000344 */
000002D8 6162 bsr +0x64 /* 0000033C */
000002DA 6C65 bge +0x67 /* 00000341 */
000002DC 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
000002E0 7252 moveq.l D1, 0x52
000002E2 6561 bcs +0x63 /* 00000345 */
000002E4 736F moveq.l D1, 0x6F
000002E6 6E00 0000 bgt +0x2 /* 000002E8 */
// begin alternate branch 000002E8-000002F0
label000002E8:
000002E8 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000002EA: // (misaligned)
000002EC 0000 2F07 ori.b D0, 0x7
// end alternate branch 000002E8-000002F0
label000002E8: // (misaligned)
fn000002EA:
000002EA 4E56 0000 link A6, 0
000002EE 2F07 move.l -[A7], D7
000002F0 1E2E 000B move.b D7, [A6 + 0xB]
000002F4 7000 moveq.l D0, 0x00
000002F6 1007 move.b D0, D7
000002F8 4A80 tst.l D0
000002FA 650A bcs +0xC /* 00000306 */
000002FC 7000 moveq.l D0, 0x00
000002FE 1007 move.b D0, D7
00000300 0C00 0023 cmpi.b D0, 0x23 /* '#' */
00000304 6304 bls +0x6 /* 0000030A */
label00000306:
00000306 7000 moveq.l D0, 0x00
00000308 601E bra +0x20 /* 00000328 */
label0000030A:
0000030A 486D F8A2 pea.l [A5 - 0x75E]
0000030E 3F3C 2386 move.w -[A7], 0x2386
00000312 1007 move.b D0, D7
00000314 72FF moveq.l D1, 0xFFFFFFFF
00000316 9001 sub.b D0, D1
00000318 7200 moveq.l D1, 0x00
0000031A 1200 move.b D1, D0
0000031C 3F01 move.w -[A7], D1
0000031E 4EAD 0102 jsr [A5 + 0x102 /* export_28 */]
00000322 41ED F8A2 lea.l A0, [A5 - 0x75E]
00000326 2008 move.l D0, A0
label00000328:
00000328 2E2E FFFC move.l D7, [A6 - 0x4]
0000032C 4E5E unlink A6
0000032E 4E75 rts
00000330 9547 subx.w D2, D7
00000332 6574 bcs +0x76 /* 000003A8 */
00000334 4F70 6572 6174 696F 6E4E chk.w D7, [[A0 + 0x6174696F] + 0x6E4E]
// begin alternate branch 0000033C-0000033E
fn0000033C:
0000033C 6E4E bgt +0x50 /* 0000038C */
// end alternate branch 0000033C-0000033E
fn0000033C: // (misaligned)
0000033E 756D moveq.l D2, 0x6D
00000340 5374 7269 subq.w [A4 + D7.w * 2 + 0x69], 1
label00000344:
00000344 6E67 bgt +0x69 /* 000003AD */
00000346 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000348-0000034E
fn00000348:
00000348 4E56 0000 link A6, 0
0000034C 2F07 move.l -[A7], D7
// end alternate branch 00000348-0000034E
fn00000348: // (misaligned)
0000034A 0000 2F07 ori.b D0, 0x7
0000034E 3E2E 000A move.w D7, [A6 + 0xA]
00000352 7000 moveq.l D0, 0x00
00000354 3007 move.w D0, D7
00000356 0C40 4A38 cmpi.w D0, 0x4A38 /* 'J8' */
0000035A 650A bcs +0xC /* 00000366 */
0000035C 7000 moveq.l D0, 0x00
0000035E 3007 move.w D0, D7
00000360 0C40 4A49 cmpi.w D0, 0x4A49 /* 'JI' */
00000364 6304 bls +0x6 /* 0000036A */
label00000366:
00000366 7000 moveq.l D0, 0x00
00000368 601A bra +0x1C /* 00000384 */
label0000036A:
0000036A 7000 moveq.l D0, 0x00
0000036C 3007 move.w D0, D7
0000036E 90BC 0000 4A37 sub.l D0, 0x4A37 /* 'J7' */
00000374 2F00 move.l -[A7], D0
00000376 4878 2383 push.l 0x2383
0000037A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000037E 4EBA 012E jsr [PC + 0x12E /* 000004AE */]
00000382 7001 moveq.l D0, 0x01
label00000384:
00000384 2E2E FFFC move.l D7, [A6 - 0x4]
00000388 4E5E unlink A6
0000038A 4E75 rts
label0000038C:
0000038C 9547 subx.w D2, D7
0000038E 6574 bcs +0x76 /* 00000404 */
00000390 4765 chk.w D3, -[A5]
00000392 6E65 bgt +0x67 /* 000003F9 */
00000394 7261 moveq.l D1, 0x61
00000396 6C45 bge +0x47 /* 000003DD */
00000398 7272 moveq.l D1, 0x72
0000039A 6F72 ble +0x74 /* 0000040E */
0000039C 5265 addq.w -[A5], 1
0000039E 6173 bsr +0x75 /* 00000413 */
000003A0 6F6E ble +0x70 /* 00000410 */
000003A2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000003A4-000003A8
fn000003A4:
000003A4 4E56 0000 link A6, 0
// end alternate branch 000003A4-000003A8
fn000003A4: // (misaligned)
000003A6 0000 2F07 ori.b D0, 0x7
// begin alternate branch 000003A8-000003AA
label000003A8:
000003A8 2F07 move.l -[A7], D7
// end alternate branch 000003A8-000003AA
label000003A8: // (misaligned)
000003AA 3E2E 000A move.w D7, [A6 + 0xA]
000003AE 0C47 F830 cmpi.w D7, 0xF830
000003B2 6E06 bgt +0x8 /* 000003BA */
000003B4 0C47 F7FB cmpi.w D7, 0xF7FB
000003B8 6C04 bge +0x6 /* 000003BE */
label000003BA:
000003BA 7000 moveq.l D0, 0x00
000003BC 601E bra +0x20 /* 000003DC */
label000003BE:
000003BE 48C7 ext.l D7
000003C0 2007 move.l D0, D7
000003C2 90BC FFFF F830 sub.l D0, 0xFFFFF830
000003C8 4480 neg.l D0
000003CA 5280 addq.l D0, 1
000003CC 2F00 move.l -[A7], D0
000003CE 4878 2382 push.l 0x2382
000003D2 2F2E 000C move.l -[A7], [A6 + 0xC]
000003D6 4EBA 00D6 jsr [PC + 0xD6 /* 000004AE */]
000003DA 7001 moveq.l D0, 0x01
label000003DC:
000003DC 2E2E FFFC move.l D7, [A6 - 0x4]
000003E0 4E5E unlink A6
000003E2 4E75 rts
000003E4 9447 sub.w D2, D7
000003E6 6574 bcs +0x76 /* 0000045C */
000003E8 4D6F 7669 chk.w D6, [A7 + 0x7669]
000003EC 6573 bcs +0x75 /* 00000461 */
000003EE 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
000003F2 7252 moveq.l D1, 0x52
000003F4 6561 bcs +0x63 /* 00000457 */
000003F6 736F moveq.l D1, 0x6F
000003F8 6E00 0000 bgt +0x2 /* 000003FA */
// begin alternate branch 000003FA-00000404
label000003FA:
000003FA 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000003FC: // (misaligned)
000003FE 0000 48E7 ori.b D0, 0xE7
00000402 0300 btst D0, D1
// end alternate branch 000003FA-00000404
label000003FA: // (misaligned)
fn000003FC:
000003FC 4E56 0000 link A6, 0
00000400 48E7 0300 movem.l -[A7], D6,D7
label00000404:
00000404 3C2E 000A move.w D6, [A6 + 0xA]
00000408 48C6 ext.l D6
0000040A 2F06 move.l -[A7], D6
0000040C 4EBA 004E jsr [PC + 0x4E /* 0000045C */]
// begin alternate branch 0000040E-00000412
label0000040E:
0000040E 004E 3E00 ori.w A6, 0x3E00 /* '>\0' */
// end alternate branch 0000040E-00000412
label0000040E: // (misaligned)
label00000410:
00000410 3E00 move.w D7, D0
00000412 6D06 blt +0x8 /* 0000041A */
00000414 0C47 0056 cmpi.w D7, 0x56 /* 'V' */
00000418 6F04 ble +0x6 /* 0000041E */
label0000041A:
0000041A 7000 moveq.l D0, 0x00
0000041C 601C bra +0x1E /* 0000043A */
label0000041E:
0000041E 48C6 ext.l D6
00000420 2F06 move.l -[A7], D6
00000422 4EBA 0038 jsr [PC + 0x38 /* 0000045C */]
00000426 48C0 ext.l D0
00000428 588F addq.l A7, 4
0000042A 2F00 move.l -[A7], D0
0000042C 4878 2385 push.l 0x2385
00000430 2F2E 000C move.l -[A7], [A6 + 0xC]
00000434 4EBA 0078 jsr [PC + 0x78 /* 000004AE */]
00000438 7001 moveq.l D0, 0x01
label0000043A:
0000043A 4CEE 00C0 FFF8 movem.l D6,D7, [A6 - 0x8]
00000440 4E5E unlink A6
00000442 4E75 rts
00000444 9447 sub.w D2, D7
00000446 6574 bcs +0x76 /* 000004BC */
00000448 5379 7374 656D subq.w [0x7374656D], 1
0000044E 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
00000452 7252 moveq.l D1, 0x52
00000454 6561 bcs +0x63 /* 000004B7 */
00000456 736F moveq.l D1, 0x6F
00000458 6E00 0000 bgt +0x2 /* 0000045A */
// begin alternate branch 0000045A-00000464
label0000045A:
0000045A 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn0000045C: // (misaligned)
0000045E 0000 48E7 ori.b D0, 0xE7
00000462 1300 move.b -[A1], D0
// end alternate branch 0000045A-00000464
label0000045A: // (misaligned)
fn0000045C:
0000045C 4E56 0000 link A6, 0
00000460 48E7 1300 movem.l -[A7], D3,D6,D7
00000464 3C2E 000A move.w D6, [A6 + 0xA]
00000468 4247 clr.w D7
0000046A 7657 moveq.l D3, 0x57
label0000046C:
0000046C 48C7 ext.l D7
0000046E 206D F69E movea.l A0, [A5 - 0x962]
00000472 2007 move.l D0, D7
00000474 D080 add.l D0, D0
00000476 BC70 0800 cmp.w D6, [A0 + D0]
0000047A 6608 bne +0xA /* 00000484 */
0000047C 48C7 ext.l D7
0000047E 2007 move.l D0, D7
00000480 5280 addq.l D0, 1
00000482 600A bra +0xC /* 0000048E */
label00000484:
00000484 3007 move.w D0, D7
00000486 5247 addq.w D7, 1
00000488 B647 cmp.w D3, D7
0000048A 6EE0 bgt -0x1E /* 0000046C */
0000048C 70FF moveq.l D0, 0xFFFFFFFF
label0000048E:
0000048E 4CEE 00C8 FFF4 movem.l D3,D6,D7, [A6 - 0xC]
00000494 4E5E unlink A6
00000496 4E75 rts
00000498 9347 subx.w D1, D7
0000049A 6574 bcs +0x76 /* 00000510 */
0000049C 5379 7374 656D subq.w [0x7374656D], 1
000004A2 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
000004A6 7249 moveq.l D1, 0x49
000004A8 6E64 bgt +0x66 /* 0000050E */
000004AA 6578 bcs +0x7A /* 00000524 */
000004AC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000004AE-000004B6
fn000004AE:
000004AE 4E56 0000 link A6, 0
000004B2 48E7 0318 movem.l -[A7], D6,D7,A3,A4
// end alternate branch 000004AE-000004B6
fn000004AE: // (misaligned)
000004B0 0000 48E7 ori.b D0, 0xE7
000004B4 0318 btst [A0]+, D1
000004B6 3E2E 000E move.w D7, [A6 + 0xE]
000004BA 286E 0008 movea.l A4, [A6 + 0x8]
// begin alternate branch 000004BC-000004C0
label000004BC:
000004BC 0008 558F ori.b A0, 0x8F
// end alternate branch 000004BC-000004C0
label000004BC: // (misaligned)
000004BE 558F subq.l A7, 2
000004C0 A994 syscall CurResFile
000004C2 3C1F move.w D6, [A7]+
000004C4 3F2D FDA2 move.w -[A7], [A5 - 0x25E]
000004C8 A998 syscall UseResFile
000004CA 598F subq.l A7, 4
000004CC 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
000004D2 3F07 move.w -[A7], D7
000004D4 A81F syscall Get1Resource
000004D6 265F movea.l A3, [A7]+
000004D8 200B move.l D0, A3
000004DA 670E beq +0x10 /* 000004EA */
000004DC 2F0C move.l -[A7], A4
000004DE 3F07 move.w -[A7], D7
000004E0 3F2E 0012 move.w -[A7], [A6 + 0x12]
000004E4 4EAD 0102 jsr [A5 + 0x102 /* export_28 */]
000004E8 6012 bra +0x14 /* 000004FC */
label000004EA:
000004EA 41ED F6A2 lea.l A0, [A5 - 0x95E]
000004EE 224C movea.l A1, A4
000004F0 7000 moveq.l D0, 0x00
000004F2 102D F6A2 move.b D0, [A5 - 0x95E]
000004F6 5240 addq.w D0, 1
000004F8 48C0 ext.l D0
000004FA A02E syscall BlockMove/BlockMoveData
label000004FC:
000004FC 3F06 move.w -[A7], D6
000004FE A998 syscall UseResFile
00000500 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
00000506 4E5E unlink A6
00000508 4E75 rts
0000050A 9347 subx.w D1, D7
0000050C 6574 bcs +0x76 /* 00000582 */
label0000050E:
0000050E 4D61 chk.w D6, -[A1]
label00000510:
00000510 6769 beq +0x6B /* 0000057B */
00000512 6345 bls +0x47 /* 00000559 */
00000514 7272 moveq.l D1, 0x72
00000516 6F72 ble +0x74 /* 0000058A */
00000518 5374 7269 subq.w [A4 + D7.w * 2 + 0x69], 1
0000051C 6E67 bgt +0x69 /* 00000585 */
0000051E 0000 4E56 ori.b D0, 0x56 /* 'V' */
00000522 FFF2 .invalid <<F/7/7>>
label00000524:
00000524 48E7 0118 movem.l -[A7], D7,A3,A4
00000528 7E01 moveq.l D7, 0x01
0000052A 7000 moveq.l D0, 0x00
0000052C 102D FAA2 move.b D0, [A5 - 0x55E]
00000530 0C40 001D cmpi.w D0, 0x1D
00000534 660E bne +0x10 /* 00000544 */
00000536 7000 moveq.l D0, 0x00
00000538 2F00 move.l -[A7], D0
0000053A 4EBA FDAE jsr [PC - 0x252 /* 000002EA */]
0000053E 2640 movea.l A3, D0
00000540 584F addq.w A7, 4
00000542 600C bra +0xE /* 00000550 */
label00000544:
00000544 7001 moveq.l D0, 0x01
00000546 2F00 move.l -[A7], D0
00000548 4EBA FDA0 jsr [PC - 0x260 /* 000002EA */]
0000054C 2640 movea.l A3, D0
0000054E 584F addq.w A7, 4
label00000550:
00000550 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000554 2F0B move.l -[A7], A3
00000556 7000 moveq.l D0, 0x00
00000558 2F00 move.l -[A7], D0
0000055A 2F00 move.l -[A7], D0
0000055C A98B syscall ParamText
0000055E 598F subq.l A7, 4
00000560 3F3C 07DD move.w -[A7], 0x7DD
00000564 7000 moveq.l D0, 0x00
00000566 2F00 move.l -[A7], D0
00000568 72FF moveq.l D1, 0xFFFFFFFF
0000056A 2F01 move.l -[A7], D1
0000056C A97C syscall GetNewDialog
0000056E 285F movea.l A4, [A7]+
00000570 200C move.l D0, A4
00000572 676E beq +0x70 /* 000005E2 */
00000574 2F0C move.l -[A7], A4
00000576 4EAD 0192 jsr [A5 + 0x192 /* export_46 */]
0000057A 2F0C move.l -[A7], A4
0000057C A915 syscall ShowWindow
0000057E 2F0C move.l -[A7], A4
00000580 A873 syscall SetPort
label00000582:
00000582 2F0C move.l -[A7], A4
00000584 7001 moveq.l D0, 0x01
00000586 3F00 move.w -[A7], D0
00000588 486E FFF2 pea.l [A6 - 0xE]
// begin alternate branch 0000058A-0000058C
label0000058A:
0000058A FFF2 .invalid <<F/7/7>>
// end alternate branch 0000058A-0000058C
label0000058A: // (misaligned)
0000058C 486E FFF4 pea.l [A6 - 0xC]
00000590 486E FFF8 pea.l [A6 - 0x8]
00000594 A98D syscall GetDialogItem/GetDItem
00000596 7003 moveq.l D0, 0x03
00000598 3F00 move.w -[A7], D0
0000059A 3F00 move.w -[A7], D0
0000059C A89B syscall PenSize
0000059E 486E FFF8 pea.l [A6 - 0x8]
000005A2 70FC moveq.l D0, 0xFFFFFFFC
000005A4 3F00 move.w -[A7], D0
000005A6 3F00 move.w -[A7], D0
000005A8 A8A9 syscall InsetRect
000005AA 486E FFF8 pea.l [A6 - 0x8]
000005AE 7010 moveq.l D0, 0x10
000005B0 3F00 move.w -[A7], D0
000005B2 3F00 move.w -[A7], D0
000005B4 A8B0 syscall FrameRoundRect
000005B6 584F addq.w A7, 4
label000005B8:
000005B8 486D 02F2 pea.l [A5 + 0x2F2 /* export_90 */]
000005BC 486E FFF2 pea.l [A6 - 0xE]
000005C0 A991 syscall ModalDialog
000005C2 7002 moveq.l D0, 0x02
000005C4 B06E FFF2 cmp.w D0, [A6 - 0xE]
000005C8 6710 beq +0x12 /* 000005DA */
000005CA 7001 moveq.l D0, 0x01
000005CC B06E FFF2 cmp.w D0, [A6 - 0xE]
000005D0 6708 beq +0xA /* 000005DA */
000005D2 7003 moveq.l D0, 0x03
000005D4 B06E FFF2 cmp.w D0, [A6 - 0xE]
000005D8 66DE bne -0x20 /* 000005B8 */
label000005DA:
000005DA 2F0C move.l -[A7], A4
000005DC A983 syscall DisposeDialog
000005DE 1E2E FFF3 move.b D7, [A6 - 0xD]
label000005E2:
000005E2 1007 move.b D0, D7
000005E4 4CEE 1880 FFE6 movem.l D7,A3,A4, [A6 - 0x1A]
000005EA 4E5E unlink A6
000005EC 4E75 rts
000005EE 9244 sub.w D1, D4
000005F0 6F53 ble +0x55 /* 00000645 */
000005F2 6176 bsr +0x78 /* 0000066A */
000005F4 6543 bcs +0x45 /* 00000639 */
000005F6 6861 bvc +0x63 /* 00000659 */
000005F8 6E67 bgt +0x69 /* 00000661 */
000005FA 6573 bcs +0x75 /* 0000066F */
000005FC 416C 6572 chk.w D0, [A4 + 0x6572]
00000600 7400 moveq.l D2, 0x00
00000602 0000 4E56 ori.b D0, 0x56 /* 'V' */
00000606 FEE2 48E7 .extension 0xEE2 <<F/2-3/7>> // unimplemented
0000060A 1318 move.b -[A1], [A0]+
0000060C 47EE FFF0 lea.l A3, [A6 - 0x10]
00000610 49EE FEF0 lea.l A4, [A6 - 0x110]
00000614 206E 000C movea.l A0, [A6 + 0xC]
00000618 7003 moveq.l D0, 0x03
0000061A B050 cmp.w D0, [A0]
0000061C 6708 beq +0xA /* 00000626 */
0000061E 422E 0014 clr.b [A6 + 0x14]
00000622 6000 0110 bra +0x112 /* 00000734 */
label00000626:
00000626 206E 000C movea.l A0, [A6 + 0xC]
0000062A 2C3C 0000 00FF move.l D6, 0xFF
00000630 CCA8 0002 and.l D6, [A0 + 0x2]
00000634 1006 move.b D0, D6
00000636 5700 subq.b D0, 3
00000638 6714 beq +0x16 /* 0000064E */
0000063A 0400 000A subi.b D0, 0xA /* '\n' */
0000063E 670E beq +0x10 /* 0000064E */
00000640 0400 000E subi.b D0, 0xE
00000644 671A beq +0x1C /* 00000660 */
00000646 0400 0013 subi.b D0, 0x13
0000064A 6726 beq +0x28 /* 00000672 */
0000064C 604E bra +0x50 /* 0000069C */
label0000064E:
0000064E 206E 0008 movea.l A0, [A6 + 0x8]
00000652 30BC 0001 move.w [A0], 0x1
00000656 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
0000065C 6000 00D6 bra +0xD8 /* 00000734 */
label00000660:
00000660 206E 0008 movea.l A0, [A6 + 0x8]
00000664 30BC 0002 move.w [A0], 0x2
00000668 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
// begin alternate branch 0000066A-0000066E
fn0000066A:
0000066A 0001 0014 ori.b D1, 0x14
// end alternate branch 0000066A-0000066E
fn0000066A: // (misaligned)
0000066E 6000 00C4 bra +0xC6 /* 00000734 */
label00000672:
00000672 206E 0008 movea.l A0, [A6 + 0x8]
00000676 30BC 0002 move.w [A0], 0x2
0000067A 206E 000C movea.l A0, [A6 + 0xC]
0000067E 303C 0100 move.w D0, 0x100
00000682 C068 000E and.w D0, [A0 + 0xE]
00000686 7200 moveq.l D1, 0x00
00000688 3200 move.w D1, D0
0000068A 4A81 tst.l D1
0000068C 56C0 sne D0
0000068E 0240 0001 andi.w D0, 0x1
00000692 48C0 ext.l D0
00000694 1D40 0014 move.b [A6 + 0x14], D0
00000698 6000 009A bra +0x9C /* 00000734 */
label0000069C:
0000069C 70FF moveq.l D0, 0xFFFFFFFF
0000069E 2D40 FEE2 move.l [A6 - 0x11E], D0
000006A2 206E 000C movea.l A0, [A6 + 0xC]
000006A6 323C 0100 move.w D1, 0x100
000006AA C268 000E and.w D1, [A0 + 0xE]
000006AE 6606 bne +0x8 /* 000006B6 */
000006B0 422E 0014 clr.b [A6 + 0x14]
000006B4 607E bra +0x80 /* 00000734 */
label000006B6:
000006B6 7E01 moveq.l D7, 0x01
000006B8 6070 bra +0x72 /* 0000072A */
label000006BA:
000006BA 2F2E 0010 move.l -[A7], [A6 + 0x10]
000006BE 3F07 move.w -[A7], D7
000006C0 486E FEEE pea.l [A6 - 0x112]
000006C4 486E FEE2 pea.l [A6 - 0x11E]
000006C8 486E FEE6 pea.l [A6 - 0x11A]
000006CC A98D syscall GetDialogItem/GetDItem
000006CE 4AAE FEE2 tst.l [A6 - 0x11E]
000006D2 6752 beq +0x54 /* 00000726 */
000006D4 7004 moveq.l D0, 0x04
000006D6 B06E FEEE cmp.w D0, [A6 - 0x112]
000006DA 664A bne +0x4C /* 00000726 */
000006DC 2F2E FEE2 move.l -[A7], [A6 - 0x11E]
000006E0 2F0C move.l -[A7], A4
000006E2 A95E syscall GetControlTitle/GetCTitle
000006E4 7000 moveq.l D0, 0x00
000006E6 1014 move.b D0, [A4]
000006E8 4A80 tst.l D0
000006EA 673A beq +0x3C /* 00000726 */
000006EC 18BC 0001 move.b [A4], 0x1
000006F0 16BC 0001 move.b [A3], 0x1
000006F4 1746 0001 move.b [A3 + 0x1], D6
000006F8 558F subq.l A7, 2
000006FA 2F0C move.l -[A7], A4
000006FC 2F0B move.l -[A7], A3
000006FE 7002 moveq.l D0, 0x02
00000700 3F00 move.w -[A7], D0
00000702 3F00 move.w -[A7], D0
00000704 3F3C 000C move.w -[A7], 0xC
00000708 A9ED syscall Pack6
0000070A 4A5F tst.w [A7]+
0000070C 6618 bne +0x1A /* 00000726 */
0000070E 206E 0008 movea.l A0, [A6 + 0x8]
00000712 3087 move.w [A0], D7
00000714 2F2E FEE2 move.l -[A7], [A6 - 0x11E]
00000718 700A moveq.l D0, 0x0A
0000071A 3F00 move.w -[A7], D0
0000071C A95D syscall HiliteControl
0000071E 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
00000724 600E bra +0x10 /* 00000734 */
label00000726:
00000726 3007 move.w D0, D7
00000728 5247 addq.w D7, 1
label0000072A:
0000072A 4AAE FEE2 tst.l [A6 - 0x11E]
0000072E 668A bne -0x74 /* 000006BA */
00000730 422E 0014 clr.b [A6 + 0x14]
label00000734:
00000734 4CEE 18C8 FECE movem.l D3,D6,D7,A3,A4, [A6 - 0x132]
0000073A 4E5E unlink A6
0000073C 205F movea.l A0, [A7]+
0000073E 4FEF 000C lea.l A7, [A7 + 0xC]
00000742 4ED0 jmp [A0]
00000744 9559 sub.w [A1]+, D2
00000746 4553 chk.w D2, [A3]
00000748 4E4F trap 15
0000074A 4341 chk.w D1, D1
0000074C 4E43 trap 3
0000074E 454C chk.w D2, A4
00000750 4B45 chk.w D5, D5
00000752 5953 subq.w [A3], 4
00000754 4649 not.w A1
00000756 4C54 4552 movem.l D1,D4,D6,A0,A2,A6, [A4]
0000075A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000075C-00000760
fn0000075C:
0000075C 4E56 FBF0 link A6, -0x0410
// end alternate branch 0000075C-00000760
fn0000075C: // (misaligned)
0000075E FBF0 .invalid <<F/7/5>>
00000760 48E7 0118 movem.l -[A7], D7,A3,A4
00000764 47EE FF00 lea.l A3, [A6 - 0x100]
00000768 3E2E 000A move.w D7, [A6 + 0xA]
0000076C 49EE FD00 lea.l A4, [A6 - 0x300]
00000770 486E FC00 pea.l [A6 - 0x400]
00000774 4878 4A38 push.l 0x4A38 /* 'J8' */
00000778 4EBA FBCE jsr [PC - 0x432 /* 00000348 */]
0000077C 7000 moveq.l D0, 0x00
0000077E 102D FAA2 move.b D0, [A5 - 0x55E]
00000782 2F00 move.l -[A7], D0
00000784 4EBA FB64 jsr [PC - 0x49C /* 000002EA */]
00000788 2040 movea.l A0, D0
0000078A 224B movea.l A1, A3
0000078C 2D48 FBFC move.l [A6 - 0x404], A0
00000790 2D49 FBF8 move.l [A6 - 0x408], A1
00000794 7000 moveq.l D0, 0x00
00000796 102D FAA2 move.b D0, [A5 - 0x55E]
0000079A 2F00 move.l -[A7], D0
0000079C 4EBA FB4C jsr [PC - 0x4B4 /* 000002EA */]
000007A0 2040 movea.l A0, D0
000007A2 7000 moveq.l D0, 0x00
000007A4 1010 move.b D0, [A0]
000007A6 5240 addq.w D0, 1
000007A8 48C0 ext.l D0
000007AA 206E FBFC movea.l A0, [A6 - 0x404]
000007AE 226E FBF8 movea.l A1, [A6 - 0x408]
000007B2 A02E syscall BlockMove/BlockMoveData
000007B4 486E FE00 pea.l [A6 - 0x200]
000007B8 4878 4A39 push.l 0x4A39 /* 'J9' */
000007BC 4EBA FB8A jsr [PC - 0x476 /* 00000348 */]
000007C0 48C7 ext.l D7
000007C2 2F07 move.l -[A7], D7
000007C4 4EBA FA60 jsr [PC - 0x5A0 /* 00000226 */]
000007C8 2040 movea.l A0, D0
000007CA 224C movea.l A1, A4
000007CC 2D48 FBF4 move.l [A6 - 0x40C], A0
000007D0 2D49 FBF0 move.l [A6 - 0x410], A1
000007D4 48C7 ext.l D7
000007D6 2F07 move.l -[A7], D7
000007D8 4EBA FA4C jsr [PC - 0x5B4 /* 00000226 */]
000007DC 2040 movea.l A0, D0
000007DE 7000 moveq.l D0, 0x00
000007E0 1010 move.b D0, [A0]
000007E2 5240 addq.w D0, 1
000007E4 48C0 ext.l D0
000007E6 206E FBF4 movea.l A0, [A6 - 0x40C]
000007EA 226E FBF0 movea.l A1, [A6 - 0x410]
000007EE A02E syscall BlockMove/BlockMoveData
000007F0 7000 moveq.l D0, 0x00
000007F2 1014 move.b D0, [A4]
000007F4 4A80 tst.l D0
000007F6 4FEF 0020 lea.l A7, [A7 + 0x20]
000007FA 660C bne +0xE /* 00000808 */
000007FC 2F0C move.l -[A7], A4
000007FE 4878 4A3A push.l 0x4A3A /* 'J:' */
00000802 4EBA FB44 jsr [PC - 0x4BC /* 00000348 */]
00000806 504F addq.w A7, 8
label00000808:
00000808 486E FC00 pea.l [A6 - 0x400]
0000080C 2F0B move.l -[A7], A3
0000080E 486E FE00 pea.l [A6 - 0x200]
00000812 2F0C move.l -[A7], A4
00000814 A98B syscall ParamText
00000816 7001 moveq.l D0, 0x01
00000818 2F00 move.l -[A7], D0
0000081A 7200 moveq.l D1, 0x00
0000081C 2F01 move.l -[A7], D1
0000081E 4878 07E1 push.l 0x7E1
00000822 2F3C 414C 5254 move.l -[A7], 0x414C5254 /* 'ALRT' */
00000828 4EAD 019A jsr [A5 + 0x19A /* export_47 */]
0000082C 558F subq.l A7, 2
0000082E 3F3C 07E1 move.w -[A7], 0x7E1
00000832 7000 moveq.l D0, 0x00
00000834 2F00 move.l -[A7], D0
00000836 A986 syscall StopAlert
00000838 4FEF 0012 lea.l A7, [A7 + 0x12]
0000083C 4CEE 1880 FBE4 movem.l D7,A3,A4, [A6 - 0x41C]
00000842 4E5E unlink A6
00000844 4E75 rts
00000846 9345 subx.w D1, D5
00000848 7870 moveq.l D4, 0x70
0000084A 6C61 bge +0x63 /* 000008AD */
0000084C 696E bvs +0x70 /* 000008BC */
0000084E 4765 chk.w D3, -[A5]
00000850 6E65 bgt +0x67 /* 000008B7 */
00000852 7261 moveq.l D1, 0x61
00000854 6C45 bge +0x47 /* 0000089B */
00000856 7272 moveq.l D1, 0x72
00000858 6F72 ble +0x74 /* 000008CC */
0000085A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000085C-00000860
fn0000085C:
0000085C 4E56 FDF8 link A6, -0x0208
// end alternate branch 0000085C-00000860
fn0000085C: // (misaligned)
0000085E FDF8 .invalid <<F/7/6>>
00000860 48E7 0118 movem.l -[A7], D7,A3,A4
00000864 3E2E 000A move.w D7, [A6 + 0xA]
00000868 7000 moveq.l D0, 0x00
0000086A 102D FAA2 move.b D0, [A5 - 0x55E]
0000086E 2F00 move.l -[A7], D0
00000870 4EBA FA78 jsr [PC - 0x588 /* 000002EA */]
00000874 2640 movea.l A3, D0
00000876 49ED F9A2 lea.l A4, [A5 - 0x65E]
0000087A 486E FF00 pea.l [A6 - 0x100]
0000087E 4878 4A39 push.l 0x4A39 /* 'J9' */
00000882 4EBA FAC4 jsr [PC - 0x53C /* 00000348 */]
00000886 48C7 ext.l D7
00000888 2F07 move.l -[A7], D7
0000088A 4EBA F99A jsr [PC - 0x666 /* 00000226 */]
0000088E 2040 movea.l A0, D0
00000890 43EE FE00 lea.l A1, [A6 - 0x200]
00000894 2D48 FDFC move.l [A6 - 0x204], A0
00000898 2D49 FDF8 move.l [A6 - 0x208], A1
0000089C 48C7 ext.l D7
0000089E 2F07 move.l -[A7], D7
000008A0 4EBA F984 jsr [PC - 0x67C /* 00000226 */]
000008A4 2040 movea.l A0, D0
000008A6 7000 moveq.l D0, 0x00
000008A8 1010 move.b D0, [A0]
000008AA 5240 addq.w D0, 1
000008AC 48C0 ext.l D0
000008AE 206E FDFC movea.l A0, [A6 - 0x204]
000008B2 226E FDF8 movea.l A1, [A6 - 0x208]
000008B6 A02E syscall BlockMove/BlockMoveData
000008B8 7000 moveq.l D0, 0x00
000008BA 1014 move.b D0, [A4]
label000008BC:
000008BC 4A80 tst.l D0
000008BE 4FEF 0014 lea.l A7, [A7 + 0x14]
000008C2 660C bne +0xE /* 000008D0 */
000008C4 48C7 ext.l D7
000008C6 2F07 move.l -[A7], D7
000008C8 4EBA FE92 jsr [PC - 0x16E /* 0000075C */]
label000008CC:
000008CC 584F addq.w A7, 4
000008CE 6034 bra +0x36 /* 00000904 */
label000008D0:
000008D0 2F0B move.l -[A7], A3
000008D2 2F0C move.l -[A7], A4
000008D4 486E FF00 pea.l [A6 - 0x100]
000008D8 486E FE00 pea.l [A6 - 0x200]
000008DC A98B syscall ParamText
000008DE 7001 moveq.l D0, 0x01
000008E0 2F00 move.l -[A7], D0
000008E2 7200 moveq.l D1, 0x00
000008E4 2F01 move.l -[A7], D1
000008E6 4878 07DF push.l 0x7DF
000008EA 2F3C 414C 5254 move.l -[A7], 0x414C5254 /* 'ALRT' */
000008F0 4EAD 019A jsr [A5 + 0x19A /* export_47 */]
000008F4 558F subq.l A7, 2
000008F6 3F3C 07DF move.w -[A7], 0x7DF
000008FA 7000 moveq.l D0, 0x00
000008FC 2F00 move.l -[A7], D0
000008FE A986 syscall StopAlert
00000900 4FEF 0012 lea.l A7, [A7 + 0x12]
label00000904:
00000904 4CEE 1880 FDEC movem.l D7,A3,A4, [A6 - 0x214]
0000090A 4E5E unlink A6
0000090C 4E75 rts
0000090E 9B45 subx.w D5, D5
00000910 7870 moveq.l D4, 0x70
00000912 6C61 bge +0x63 /* 00000975 */
00000914 696E bvs +0x70 /* 00000984 */
00000916 4669 6C65 not.w [A1 + 0x6C65]
0000091A 4F70 6572 6174 696F 6E46 chk.w D7, [[A0 + 0x6174696F] + 0x6E46]
00000924 6169 bsr +0x6B /* 0000098F */
00000926 6C75 bge +0x77 /* 0000099D */
00000928 7265 moveq.l D1, 0x65
0000092A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000092C-00000932
fn0000092C:
0000092C 4E56 0000 link A6, 0
00000930 2F07 move.l -[A7], D7
// end alternate branch 0000092C-00000932
fn0000092C: // (misaligned)
0000092E 0000 2F07 ori.b D0, 0x7
00000932 3E2E 000A move.w D7, [A6 + 0xA]
00000936 7000 moveq.l D0, 0x00
00000938 102D F9A2 move.b D0, [A5 - 0x65E]
0000093C 4A80 tst.l D0
0000093E 670C beq +0xE /* 0000094C */
00000940 48C7 ext.l D7
00000942 2F07 move.l -[A7], D7
00000944 4EBA FF16 jsr [PC - 0xEA /* 0000085C */]
00000948 584F addq.w A7, 4
0000094A 600A bra +0xC /* 00000956 */
label0000094C:
0000094C 48C7 ext.l D7
0000094E 2F07 move.l -[A7], D7
00000950 4EBA FE0A jsr [PC - 0x1F6 /* 0000075C */]
00000954 584F addq.w A7, 4
label00000956:
00000956 2E2E FFFC move.l D7, [A6 - 0x4]
0000095A 4E5E unlink A6
0000095C 4E75 rts
0000095E 9745 subx.w D3, D5
00000960 7870 moveq.l D4, 0x70
00000962 6C61 bge +0x63 /* 000009C5 */
00000964 696E bvs +0x70 /* 000009D4 */
00000966 4170 7072 chk.w D0, [A0 + D7.w + 0x72]
0000096A 6F70 ble +0x72 /* 000009DC */
0000096C 7269 moveq.l D1, 0x69
0000096E 6174 bsr +0x76 /* 000009E4 */
00000970 6545 bcs +0x47 /* 000009B7 */
00000972 7272 moveq.l D1, 0x72
00000974 6F72 ble +0x74 /* 000009E8 */
00000976 0000 4E56 ori.b D0, 0x56 /* 'V' */
0000097A 0000 2F07 ori.b D0, 0x7
0000097E 3E2E 000A move.w D7, [A6 + 0xA]
00000982 6722 beq +0x24 /* 000009A6 */
label00000984:
00000984 0C47 4A47 cmpi.w D7, 0x4A47 /* 'JG' */
00000988 671C beq +0x1E /* 000009A6 */
0000098A 0C47 4A48 cmpi.w D7, 0x4A48 /* 'JH' */
0000098E 6716 beq +0x18 /* 000009A6 */
00000990 0C47 F81D cmpi.w D7, 0xF81D
00000994 6710 beq +0x12 /* 000009A6 */
00000996 0C47 FF80 cmpi.w D7, 0xFF80
0000099A 670A beq +0xC /* 000009A6 */
0000099C 48C7 ext.l D7
0000099E 2F07 move.l -[A7], D7
000009A0 4EBA FF8A jsr [PC - 0x76 /* 0000092C */]
000009A4 584F addq.w A7, 4
label000009A6:
000009A6 2E2E FFFC move.l D7, [A6 - 0x4]
000009AA 4E5E unlink A6
000009AC 4E75 rts
000009AE 9A45 sub.w D5, D5
000009B0 7870 moveq.l D4, 0x70
000009B2 6C61 bge +0x63 /* 00000A15 */
000009B4 696E bvs +0x70 /* 00000A24 */
000009B6 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
000009BA 7255 moveq.l D1, 0x55
000009BC 6E6C bgt +0x6E /* 00000A2A */
000009BE 6573 bcs +0x75 /* 00000A33 */
000009C0 7343 moveq.l D1, 0x43
000009C2 616E bsr +0x70 /* 00000A32 */
000009C4 6365 bls +0x67 /* 00000A2B */
000009C6 6C65 bge +0x67 /* 00000A2D */
000009C8 6400 0000 bcc +0x2 /* 000009CA */
// begin alternate branch 000009CA-000009D4
label000009CA:
000009CA 0000 4E56 ori.b D0, 0x56 /* 'V' */
000009CE 0000 48E7 ori.b D0, 0xE7
000009D2 0300 btst D0, D1
// end alternate branch 000009CA-000009D4
label000009CA: // (misaligned)
000009CC 4E56 0000 link A6, 0
000009D0 48E7 0300 movem.l -[A7], D6,D7
label000009D4:
000009D4 4AAD FBA8 tst.l [A5 - 0x458]
000009D8 6608 bne +0xA /* 000009E2 */
000009DA 4EAD 03F2 jsr [A5 + 0x3F2 /* export_122 */]
// begin alternate branch 000009DC-000009DE
label000009DC:
000009DC 03F2 .incomplete
// end alternate branch 000009DC-000009DE
label000009DC: // (misaligned)
000009DE 3E00 move.w D7, D0
000009E0 6652 bne +0x54 /* 00000A34 */
label000009E2:
000009E2 2F3C C800 0000 move.l -[A7], 0xC8000000
// begin alternate branch 000009E4-000009EA
fn000009E4:
000009E4 C800 and.b D4, D0
000009E6 0000 A8FD ori.b D0, 0xFD
// end alternate branch 000009E4-000009EA
fn000009E4: // (misaligned)
label000009E8:
000009E8 A8FD syscall PrGlue
000009EA 558F subq.l A7, 2
000009EC 2F3C BA00 0000 move.l -[A7], 0xBA000000
000009F2 A8FD syscall PrGlue
000009F4 3E1F move.w D7, [A7]+
000009F6 663C bne +0x3E /* 00000A34 */
000009F8 558F subq.l A7, 2
000009FA 2F2D FBA8 move.l -[A7], [A5 - 0x458]
000009FE 2F3C 2A04 0484 move.l -[A7], 0x2A040484
00000A04 A8FD syscall PrGlue
00000A06 1C1F move.b D6, [A7]+
00000A08 558F subq.l A7, 2
00000A0A 2F3C BA00 0000 move.l -[A7], 0xBA000000
00000A10 A8FD syscall PrGlue
00000A12 3E1F move.w D7, [A7]+
00000A14 6616 bne +0x18 /* 00000A2C */
00000A16 2F3C D000 0000 move.l -[A7], 0xD0000000
00000A1C A8FD syscall PrGlue
00000A1E 558F subq.l A7, 2
00000A20 2F3C BA00 0000 move.l -[A7], 0xBA000000
// begin alternate branch 00000A24-00000A28
label00000A24:
00000A24 0000 A8FD ori.b D0, 0xFD
// end alternate branch 00000A24-00000A28
label00000A24: // (misaligned)
00000A26 A8FD syscall PrGlue
00000A28 3E1F move.w D7, [A7]+
label00000A2A:
00000A2A 671A beq +0x1C /* 00000A46 */
label00000A2C:
00000A2C 2F3C D000 0000 move.l -[A7], 0xD0000000
fn00000A32:
00000A32 A8FD syscall PrGlue
label00000A34:
00000A34 4AAD FBA8 tst.l [A5 - 0x458]
00000A38 670C beq +0xE /* 00000A46 */
00000A3A 206D FBA8 movea.l A0, [A5 - 0x458]
00000A3E A023 syscall DisposHandle/DisposeHandle
00000A40 7000 moveq.l D0, 0x00
00000A42 2B40 FBA8 move.l [A5 - 0x458], D0
label00000A46:
00000A46 0C47 FFD5 cmpi.w D7, 0xFFD5
00000A4A 6602 bne +0x4 /* 00000A4E */
00000A4C 7E35 moveq.l D7, 0x35
label00000A4E:
00000A4E 3007 move.w D0, D7
00000A50 4CEE 00C0 FFF8 movem.l D6,D7, [A6 - 0x8]
00000A56 4E5E unlink A6
00000A58 4E75 rts
00000A5A 8B44 6F50 pack D5, D4, 0x6F50
00000A5E 6167 bsr +0x69 /* 00000AC7 */
00000A60 6553 bcs +0x55 /* 00000AB5 */
00000A62 6574 bcs +0x76 /* 00000AD8 */
00000A64 7570 moveq.l D2, 0x70
00000A66 0000 4E56 ori.b D0, 0x56 /* 'V' */
00000A6A FFF0 .invalid <<F/7/7>>
00000A6C 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000A70 266E 0008 movea.l A3, [A6 + 0x8]
00000A74 4247 clr.w D7
00000A76 203C 0000 00FF move.l D0, 0xFF
00000A7C C0AB 0002 and.l D0, [A3 + 0x2]
00000A80 1D40 FFF0 move.b [A6 - 0x10], D0
00000A84 203C 0000 FF00 move.l D0, 0xFF00
00000A8A C0AB 0002 and.l D0, [A3 + 0x2]
00000A8E E080 asr D0, 8
00000A90 1D40 FFF1 move.b [A6 - 0xF], D0
00000A94 598F subq.l A7, 4
00000A96 598F subq.l A7, 4
00000A98 7016 moveq.l D0, 0x16
00000A9A 3F00 move.w -[A7], D0
00000A9C 2F3C 8402 0008 move.l -[A7], 0x84020008
00000AA2 A8B5 syscall ScriptUtil
00000AA4 201F move.l D0, [A7]+
00000AA6 3F00 move.w -[A7], D0
00000AA8 7020 moveq.l D0, 0x20
00000AAA 3F00 move.w -[A7], D0
00000AAC 2F3C 8404 000C move.l -[A7], 0x8404000C
00000AB2 A8B5 syscall ScriptUtil
00000AB4 2D5F FFF8 move.l [A6 - 0x8], [A7]+
00000AB8 598F subq.l A7, 4
00000ABA 2F3C 4B43 4852 move.l -[A7], 0x4B434852 /* 'KCHR' */
00000AC0 3F2E FFFA move.w -[A7], [A6 - 0x6]
00000AC4 A9A0 syscall GetResource
00000AC6 2D5F FFFC move.l [A6 - 0x4], [A7]+
00000ACA 4A2D FBCA tst.b [A5 - 0x436]
00000ACE 6700 00DA beq +0xDC /* 00000BAA */
00000AD2 7001 moveq.l D0, 0x01
00000AD4 2F00 move.l -[A7], D0
00000AD6 4EAD 0432 jsr [A5 + 0x432 /* export_130 */]
// begin alternate branch 00000AD8-00000ADE
label00000AD8:
00000AD8 0432 2840 7003 subi.b [A2 + D7.w + 0x3], 0x40 /* '@' */
// end alternate branch 00000AD8-00000ADE
label00000AD8: // (misaligned)
00000ADA 2840 movea.l A4, D0
00000ADC 7003 moveq.l D0, 0x03
00000ADE B053 cmp.w D0, [A3]
00000AE0 584F addq.w A7, 4
00000AE2 6706 beq +0x8 /* 00000AEA */
00000AE4 7000 moveq.l D0, 0x00
00000AE6 6000 00C4 bra +0xC6 /* 00000BAC */
label00000AEA:
00000AEA 7005 moveq.l D0, 0x05
00000AEC B02E FFF0 cmp.b D0, [A6 - 0x10]
00000AF0 6606 bne +0x8 /* 00000AF8 */
00000AF2 7001 moveq.l D0, 0x01
00000AF4 6000 00B6 bra +0xB8 /* 00000BAC */
label00000AF8:
00000AF8 303C 0100 move.w D0, 0x100
00000AFC C06B 000E and.w D0, [A3 + 0xE]
00000B00 7200 moveq.l D1, 0x00
00000B02 3200 move.w D1, D0
00000B04 4A81 tst.l D1
00000B06 6606 bne +0x8 /* 00000B0E */
00000B08 7000 moveq.l D0, 0x00
00000B0A 6000 00A0 bra +0xA2 /* 00000BAC */
label00000B0E:
00000B0E 4AAE FFFC tst.l [A6 - 0x4]
00000B12 6700 0092 beq +0x94 /* 00000BA6 */
00000B16 302B 000E move.w D0, [A3 + 0xE]
00000B1A 48C0 ext.l D0
00000B1C 323C FE00 move.w D1, 0xFE00
00000B20 C240 and.w D1, D0
00000B22 3D41 FFF6 move.w [A6 - 0xA], D1
00000B26 0045 0080 ori.w D5, 0x80
00000B2A 102E FFF1 move.b D0, [A6 - 0xF]
00000B2E 4880 ext.w D0
00000B30 3A00 move.w D5, D0
00000B32 8A6E FFF6 or.w D5, [A6 - 0xA]
00000B36 206E FFFC movea.l A0, [A6 - 0x4]
00000B3A A029 syscall HLock
00000B3C 7000 moveq.l D0, 0x00
00000B3E 2D40 FFF2 move.l [A6 - 0xE], D0
00000B42 598F subq.l A7, 4
00000B44 206E FFFC movea.l A0, [A6 - 0x4]
00000B48 2F10 move.l -[A7], [A0]
00000B4A 3F05 move.w -[A7], D5
00000B4C 486E FFF2 pea.l [A6 - 0xE]
00000B50 A9C3 syscall KeyTranslate/KeyTrans
00000B52 281F move.l D4, [A7]+
00000B54 206E FFFC movea.l A0, [A6 - 0x4]
00000B58 A02A syscall HUnlock
00000B5A 203C 00FF 0000 move.l D0, 0xFF0000
00000B60 C084 and.l D0, D4
00000B62 4840 swap.w D0
00000B64 48C0 ext.l D0
00000B66 4880 ext.w D0
00000B68 48C0 ext.l D0
00000B6A 2C00 move.l D6, D0
00000B6C 660E bne +0x10 /* 00000B7C */
00000B6E 203C 0000 00FF move.l D0, 0xFF
00000B74 C084 and.l D0, D4
00000B76 4880 ext.w D0
00000B78 48C0 ext.l D0
00000B7A 2C00 move.l D6, D0
label00000B7C:
00000B7C 4A86 tst.l D6
00000B7E 672A beq +0x2C /* 00000BAA */
00000B80 4247 clr.w D7
00000B82 6018 bra +0x1A /* 00000B9C */
label00000B84:
00000B84 48C7 ext.l D7
00000B86 2007 move.l D0, D7
00000B88 5280 addq.l D0, 1
00000B8A 7200 moveq.l D1, 0x00
00000B8C 1234 0800 move.b D1, [A4 + D0]
00000B90 B286 cmp.l D1, D6
00000B92 6604 bne +0x6 /* 00000B98 */
00000B94 7001 moveq.l D0, 0x01
00000B96 6014 bra +0x16 /* 00000BAC */
label00000B98:
00000B98 3007 move.w D0, D7
00000B9A 5247 addq.w D7, 1
label00000B9C:
00000B9C 7000 moveq.l D0, 0x00
00000B9E 1014 move.b D0, [A4]
00000BA0 B047 cmp.w D0, D7
00000BA2 6EE0 bgt -0x1E /* 00000B84 */
00000BA4 6004 bra +0x6 /* 00000BAA */
label00000BA6:
00000BA6 7000 moveq.l D0, 0x00
00000BA8 6002 bra +0x4 /* 00000BAC */
label00000BAA:
00000BAA 7000 moveq.l D0, 0x00
label00000BAC:
00000BAC 4CEE 18F0 FFD8 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x28]
00000BB2 4E5E unlink A6
00000BB4 4E75 rts
00000BB6 8D49 7348 pack -[A6], -[A1], 0x7348
00000BBA 656C bcs +0x6E /* 00000C28 */
00000BBC 704D moveq.l D0, 0x4D
00000BBE 656E bcs +0x70 /* 00000C2E */
00000BC0 754B moveq.l D2, 0x4B
00000BC2 6579 bcs +0x7B /* 00000C3D */
00000BC4 0000 .incomplete